﻿using System;

namespace Switch
{
    class Program
    {
        static void Main(string[] args)
        {
            // int a = default(int); // = 0

            int n = int.Parse(Console.ReadLine());
            string dayOfWeek = string.Empty; // = ""

            /*
            if (n == 1)
            {
                dayOfWeek = "Monday";
            }

            if (n == 2)
            {
                dayOfWeek = "Tuesday";
            }
            */

            switch(n)
            {
                case 1:
                    dayOfWeek = "Monday";
                    break;
                case 2:
                    dayOfWeek = "Tuesday";
                    break;
                case 3:
                    dayOfWeek = "Wednesday";
                    break;
                case 4:
                    dayOfWeek = "Thursday";
                    break;
                case 5:
                    dayOfWeek = "Friday";
                    break;
                case 6:
                case 7:
                    dayOfWeek = "Weekend";
                    break;
                default:
                    dayOfWeek = "Unknown";
                    break;
            }

            Console.WriteLine("{0} day of week is {1}", n, dayOfWeek);

            Console.ReadKey();
        }
    }
}
